<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<meta charset="UTF-8">
	<title>安装通-中国智慧安装采供服务平台</title> 
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge"> 
	<meta name="description" content="安装通（azt365.com）中国大型的b2b电子商务智慧化平台,整合了国内安装行业内采购商与供应商,打通上下游产业链,信息透明共享,通过云平台,大数据,为各大企业供应商提供产品信息、企业推广,为您提供全面的安装行业资讯金融服务以及线上支付.">
	<meta name="keywords" content="安装通,azt365,江苏b2b电子商务,江苏建筑采供批发平台,江苏弱电批发,江苏消防报警系统,江苏智慧安装建筑安装,江苏安防监控系统,江苏通风设备安装,江苏通风工程安装,江苏通风工程施工,江苏消防工程材料批发,江苏消防工程材料">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link href="/res/css/common/style.css" rel="stylesheet">
	 <link href="/res/css/common/css.css" rel="stylesheet">
	<link href="/res/css/common/azt.css" rel="stylesheet">
	<style type="text/css">
	button { border: none; }
	input[type="button"] { border: none; }
	</style>
  </head>
  <body>
  <div style="height:90px;background:white;">
	<div class="top">
		<img src="/res/images/logoAzt/indexlogo.jpg" style="margin-top:13.5px;float:left;"/>
		<big style="margin-top: 13.5px;"></big>
		<small>400-848-1365</small>
		<img src="/res/images/common/a_06.jpg" class="topImgSec"/>
	 </div>
  </div> 
  <div class="liveFail">
	<h5>
		<img src="/res/images/oparaStatus/aliveSuc_03.jpg"/ style="float:left;">
		<span style="text-align: left;float: left;display: inline-block;width: 730px;">
			验证邮件已发送到 <strong>${mailNotActiveUser.email!}</strong>，您需要点击邮件中的激活链接来完成注册！
		</span>
	</h5>
	<h5 style="margin-bottom:20px;height:20px;line-height:20px;">
	[#if mailNotActiveUser.email!?contains("@qq.com")]
        <a href="http://mail.qq.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@azt365.com")]
        <a href="http://mail.qq.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@foxmail.com")]
        <a href="http://mail.qq.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@163.com")]
        <a href="http://mail.163.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@126.com")]
        <a href="http://mail.126.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@139.com")]
        <a href="http://mail.10086.cn" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@sohu.com")]
        <a href="http://mail.sohu.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@189.cn")]
        <a href="http://mail.189.cn" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@sina")]
        <a href="http://mail.sina.com.cn" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@wo.cn")]
        <a href="http://mail.wo.com.cn" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@21cn.com")]
        <a href="http://mail.21cn.com/" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@outlook.com")]
        <a href="http://www.outlook.com/" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@tom.com")]
        <a href="http://web.mail.tom.com/" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@aliyun.com")]
        <a href="http://mail.aliyun.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[#elseif mailNotActiveUser.email!?contains("@hotmail.com")]
        <a href="http://www.hotmail.com" id="alink" target="_blank" style="display: none"><span id="spanlink">test</span></a>
	[/#if]

        <button type="button" onclick="targetClick()">立即进入邮箱</button>
	</h5>
	<div style="margin-left:10px;">
		<h4 style="margin-bottom: 15px;">
			 没有收到确认邮件，怎么办？
		</h4>
		<ul style="font-size: 14px;color: #666666;position: relative;">
			<li>1、看看是否在邮箱的回收站或垃圾邮件中</li>
			<li>2、确认没有收到，<a href="javascript:resend()" style="color:#00a8e6;">点此重发一封</a></li>
			<li>3、也可以试试更换邮箱地址，<a href="javascript:showChangeMail()" style="color:#00a8e6;">点击这里更换邮箱</a></li>
			<li class="againMail" style="position: absolute;width: 260px;height: 80px;left: 265px;top:0px;border: 0.5px solid #e3e3e3;line-height: 80px;text-align: center;display: none;">
			<img src="/res/images/oparaStatus/aliveSuc_03.jpg" style="margin-right: 15px;">
			<em style="font-size: 20px;">邮件已发</em>
			</li>
		</ul>
	</div>
      <div id="changeMailDiv" style="padding: 5px; display: none;">
          <div style="margin-bottom: 10px;"> 
              <input type="text" placeholder="请输入新的邮箱" id="email" style="width: 200px; height: 30px; border: 1px solid #cfcfcf; padding: 0px 15px;"/>
              <span style="color: red;" id="msg"></span>
          </div>
          <input type="button" value="提交修改并发送验证邮件" style="color: white; height: 30px; width: 198px;" onclick="changeMail()">
      </div>
  </div>
  <div class="foot">
      <div class="footCot">
          <a href="/sysfoot/helpCenter?id=3287" target="_blank">服务条款&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter?id=3288" target="_blank">关于我们&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter?id=3283" target="_blank">联系我们&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter" target="_blank">帮助中心</a>
      </div>
	<h6 class="footCot" style="height:30px;line-height:30px;color:#999999;">
		 沪ICP备15024004号-1 © 2015-2017 azt365.com 版权所有
	</h6> 
  </div>

  <script type="text/javascript" src="/res/js/common/jquery.1.9.1.min.js"></script>
  <script type="text/javascript" src="/res/js/common/util.js"></script>
  <script type="text/javascript"> 
      function resend() {
          $.ajax({
              url : '/user/sendActiveMail',
              type : 'post',
              dataType : 'json',
              success : function(data) {
                  if(data && data.success) {
                      $(".againMail imag").attr("src","/res/images/oparaStatus/aliveSuc_03.jpg");
                      $(".againMail em").text("邮件已发");
                      $(".againMail").show(); 
                  } else {
                      $(".againMail imag").attr("src","/res/images/oparaStatus/liveFail_03.jpg");
                      $(".againMail em").text("发送失败");
                      $(".againMail").show(); 
                  }
                  setTimeout(hideRes, 3000);
              }
          });
      }
      //隐藏邮件发送状态
	  function hideRes(){
		  $(".againMail").hide()
	  }
	  function showChangeMail() {
		  $('#changeMailDiv').show();
	  }

	  function showError(msg) {
          $('#msg').html(msg);
          $('#msg').prepend("*");
	  }

	  function changeMail() {
		  var email = $.trim($('#email').val());
		  if(email == '') {
			  showError('请输入新邮箱');
			  return;
		  }
		  if(!isEmail(email)) {
			  showError('邮箱格式有误');
			  return;
		  }
		  $.ajax({
              url : '/user/changeMail',
			  type : 'post',
			  dataType : 'json',
			  data : {mail : email},
			  success : function(data) {
				  if(data && data.success) {
					  window.location.reload();
				  } else {
					  $('#msg').html(data.msg);
				  }
			  }
		  });
	  }

	  /**
	   * 模拟用户点击新开窗口打开
	   * */
	  function targetClick() {
          $("#spanlink").click();
          return false;
      }
  </script>
  </body>
</html>